<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@include file="/trunk/js/header.jsp"%>
<html>
<head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <title>Title</title>
    <script src="${ctx}/trunk/js/boot.js" type="text/javascript"></script>
    <style type="text/css">
        body {
            width: 284px;
            height: 206px;
            overflow: hidden;
            margin: 0;
            font-family: 思源黑体;
        }
        .title-div {
            width:100%;
            height:35px;
            line-height: 34px;
            border-bottom: 1px solid #e0e0e0;
            background: #e9e9e9;
            padding-left: 10px;
            font-size: 15px;
            font-weight: bold;
        }
        .title-div>img {
            float:right;
            width:12px;
            height:12px;
            margin: 11px 15px 11px 0;
            cursor: pointer;
        }
        .content {
            width:calc(100% - 50px);
            height:134px;
            margin-left: 25px;
            font-size: 15px;
        }
        .content>img {
            float:left;
            width:58px;
            height: 58px;
            margin: 38px 12px 38px 0;
        }
        .content>div {
            float:left;
            width:calc(100% - 70px);
            height: 120px;
            line-height: 30px;
            margin: 7px 0 7px 0;
            display: flex;
            align-items:Center;
            font-size: 14px;
        }
        .but-div {
            width:100%;
            height:35px;
            background: #f9f9f9;
            border-top: 1px solid #e0e0e0;
        }
        .but-div>div {
            float: right;
            margin: 4px 10px 4px 0;
            height: 26px;
            line-height: 26px;
            text-align: center;
            padding: 0 8px 0 8px;
            background: #3297ec;
            border-radius: 4px;
            color:#ffffff;
            cursor: pointer;
            font-size: 14px;
        }
    </style>
</head>
<body>
    <div class="title-div">
        <span id="title"></span>
        <img src="${ctx}/trunk/js/mes/img/ts_sc.png" onclick="closeWin('cancel')"/>
    </div>
    <div class="content">
        <img id="img" src="${ctx}/trunk/js/mes/img/ts1.png"/>
        <div>
            <span id="mes" style="float:left;"></span>
        </div>
    </div>
    <div class="but-div">
        <div onclick="closeWin('ok')">确定</div>
        <div style="background: #a9a9a9" onclick="closeWin('cancel')">取消</div>
    </div>
</body>
<script>
    mini.parse();

    function SetData(data) {
        var title = "确认";
        if (data.title != null && data.title != "") {
            title = data.title;
        }
        document.getElementById("title").innerHTML=title;
        document.getElementById("mes").innerHTML = data.mes;
    }
    function closeWin(action) {
        if (window.CloseOwnerWindow) {
            return window.CloseOwnerWindow(action);
        }
        else {
            window.close();
        }
    }
</script>
</html>
